package cn.rkylin.oms.system.log.dao;

import cn.rkylin.oms.system.log.domain.LogRecord;
import cn.rkylin.oms.common.dto.PagedData;
import cn.rkylin.oms.system.log.domain.SearchConditions;
import org.springframework.data.domain.Pageable;

public interface ILogDao {

    PagedData<LogRecord> search(Pageable pageable, SearchConditions conditions) throws Exception;

    /**
     * 插入日志
     * 
     * @param logRecord
     */
    public int insert(LogRecord logRecord) throws Exception;
}
